Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ApplicationFeePercent on SubscriptionSchedule to support floats #1145

Merged
merged 1 commit into from
Jul 27, 2020

Conversation

remi-stripe
Copy link
Contributor

This parameter was always expecting a float but it's been *int64 since we introduced this API in stripe-go. I went with interface{} since it is technically a breaking change, mirroring what we did for off_session on PaymentIntent in #887 We will move to the expected *float64 in the next major instead.

Can you confirm this is safe and okay despite also being a breaking change technically?

r? @brandur-stripe
cc @stripe/api-libraries

Copy link
Contributor

@brandur-stripe brandur-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good Remi!

@remi-stripe remi-stripe merged commit e769cbe into master Jul 27, 2020
@remi-stripe remi-stripe deleted the remi-fix-schedule-appfee branch July 27, 2020 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants